#ifndef VECTOR3D_H
#define VECTOR3D_H

//because QVector3D is not in Qt 4.5... (it is in 4.6)
#include <QtCore>

class Vector3D : public QPointF {
private:
    float iz;
public:
    Vector3D(const QPointF& pointF, float aZ)
            : QPointF(pointF), iz(aZ) {}
    Vector3D(float a, float b, float c) : iz(c) {setX(a); setY(b);}
    Vector3D() : iz(0) {setX(0); setY(0);}
    float z() const {return iz;}

};
#endif // VECTOR3D_H
